<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="10" />
    <title>待收奖金</title>
    <link rel="stylesheet" href="/Public/Home/css/reward.css?v=201705230001">
    <!--不识别数字为手机-->
<meta name="format-detection" content="telephone=no, email=no"/>
<!--通用js-->
<?php if(isset($signPackage) && !empty($signPackage)){ ?>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js?v=201704270010"></script>
<?php } ?>
<script type="text/javascript" src="/Public/Home/js/require.js"></script>
<script type="text/javascript" src="/Public/Home/js/baseLoading.js?v=201705240001"></script>
<script src="/Public/Home/js/jquery.min.js" ></script>
<script src="/Public/Home/js/pincode-input.js" ></script>
<script src="/Public/Home/js/parabola.js" ></script>
<script src="/Public/Home/js/lazyload/jquery.lazyload.min.js"></script>
<script type="text/javascript">
    _global.isLogin = !!"<?php echo $wx_member_id; ?>";
	var isWxShareDiy = typeof yc_share_diy === "undefined" ? false : yc_share_diy;
	var yc_wx_shareImgPath = "";
	<?php if(isset($weixin_logo) && !empty($weixin_logo)){ ?>
		yc_wx_shareImgPath = "/Uploads/<?php echo ($weixin_logo["image"]); ?>";
	<?php } ?>
    var yc_pass_arr = {'local_id':"<?php echo I('local_id',1);?>",'top_local_id':"<?php echo I('top_local_id',1);?>"};
	if(parseInt(yc_pass_arr["local_id"]) == 21){
		_global.isStopSell = true;
	}
    <?php if(isset($signPackage) && !empty($signPackage)){ ?>
        _global.isWeiXinLoad = true;
        var isEnableLocation = typeof yc_wx_location === "undefined" ? false : yc_wx_location;
        var yc_wx_options = {
            "enableLocation" : isEnableLocation,
            "refuseCallback" : function(){},
            "mapCallback" : function(){},
            "config" : {
                debug: false,
                appId: '<?php echo $signPackage["appId"];?>',
                timestamp: '<?php echo $signPackage["timestamp"];?>',
                nonceStr: '<?php echo $signPackage["nonceStr"];?>',
                signature: '<?php echo $signPackage["signature"];?>',
                jsApiList: [
                    'checkJsApi'
                ]
            }
        };
        var isInHeader = typeof yc_wx_useInHeader === "undefined" ? true : yc_wx_useInHeader;
        if(isInHeader){
            wxAutoConfig(yc_wx_options);
        }
    <?php } ?>
</script>
</head>
<body class="bg-white">
    <div class="user-reward-head">
        <div class="money-info">
            <span class="num"><?php echo ($waitBonus); ?></span>
            <span class="ct">待收奖金</span>
        </div>        
        <a id="reward-use-help" href="javascript:;" class="use-help">使用帮助</a>
    </div>
    <div id="ajax-reward-list" class="user-reward-list">

    </div>
   <div class="ask-help-dialog" style="height: 4.10rem;">
        <div class="body">
            <span class="tit"><i class="ask-h-ico q"></i>使用规则</span>
            <p class="desc">
                待收奖金是指你的下属朋友产生购物后，你可能获得的奖金。在下级朋友确认收货并且完结订单后，该奖金会直接获得。 如果在购物后下级朋友有退款发生，最后获得的奖金将会扣除退款部分的奖金获得。
            </p>
            <!--<span class="tit"><i class="ask-h-ico t"></i>使用期限</span>-->
            <!--<p class="desc">-->
                <!--用户获得单未使用的积分，将在下一个自然年底过期，积分将定期对过期的积分进行作废处理。例2015年12月31日将清空2014年度客户获得但未使用的积分。-->
            <!--</p>-->
        </div>
        <div class="operate">
            <a href="javascript:;" class="confirm">知道了</a>
        </div>               
   </div>
    <script type="text/javascript">
        var _rtype = "wait";
        var _isInHistory = true;
		require(['member/reward']);        
	</script>
</body>
</html>